package maa.entity;

import java.sql.Date;
import java.util.List;

public class Client extends User {

    private List<Course> subscribedCourseList;

    public Client(String email, String password, String name, String surname, Date birthdate, Gender gender, Role role,
                  List<Course> subscribedCourseList) {
        super(email, password, name, surname, birthdate, gender, role);
        this.subscribedCourseList = subscribedCourseList;
    }

    public List<Course> getSubscribedCourseList() {
        return subscribedCourseList;
    }

    public void setSubscribedCourseList(List<Course> subscribedCourseList) {
        this.subscribedCourseList = subscribedCourseList;
    }
}
